<form class="layui-form layui-box modal-form-box" action="{:request()->url()}" data-auto="true" method="post">


    <div class="layui-form-item">
        <label class="layui-form-label">订单编号</label>
        <div class="layui-input-block">
            <input type="text"  value='{$vo.order_no|default=""}'   title="" placeholder="" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">卡编号</label>
        <div class="layui-input-block">
            <input type="text"  value='{$vo.card_no|default=""}'   title="" placeholder="" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">机器编码</label>
        <div class="layui-input-block">
            <input type="text"  value='{$vo.machine_no|default=""}'   title="" placeholder="" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">订单时间</label>
        <div class="layui-input-block">
            <input type="text"  value='{$vo.update_at|default=""}'   title="" placeholder="" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">订单金额</label>
        <div class="layui-input-block">
            <input type="text" id="amount"  value='{$vo.amount|fenToyuan|default="0"}'   title="" placeholder="" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">退款原因</label>
        <div class="layui-input-block">
            <input type="text" name="back_remark" value='{$vo.back_remark|default=""}'   title="请填写退款原因" placeholder="请填写退款原因" class="layui-input">
        </div>
    </div>

    <input type="hidden" name="isback"  value='{$vo.isback|default="0"}' title="" placeholder=""class="layui-input">

    <div class="hr-line-dashed"></div>
    <div class="layui-form-item text-center">
        {if isset($vo['id'])}<input type='hidden' value='{$vo.id}' name='id'>{/if}
        <button class="layui-btn" type='submit'>确定退款</button>
        <button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消编辑吗？" data-close>取消退款</button>
    </div>


</form>

<script type="text/javascript">
    $(function () {
      


    });

</script>